#ifndef _tss_h_
#define _tss_h_

extern void setup_tss(void);

extern void setup_ldt(void);

typedef struct{
    int prev_link;
    int esp0;
    int ss0;
    int esp1;
    int ss1;
    int esp2;
    int ss2;
    int cr3;
    int eip;
    int eflags;
    int eax;
    int ecx;
    int edx;
    int ebx;
    int esp;
    int ebp;
    int esi;
    int edi;
    int es;
    int cs;
    int ss;
    int ds;
    int fs;
    int gs;
    int ldt;
    int io_base;
}TSS_T;

#endif


 










